<%-- 
    Document   : FormPengumuman
    Created on : Nov 25, 2012, 2:36:17 PM
    Author     : Yo
--%>


<%@page import="bean.ProsesBean"%>
<%@page import="java.sql.ResultSet"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>Pengumuman</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <link href="http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet" type="text/css" />
        <link href="default.css" rel="stylesheet" type="text/css" media="all" />



    </head>
    <body style="margin: 0px;">
        <div id="header" class="container">
            <div id="logo">
                <h1><a href="#">Pendafataran SMA Negeri Online</a></h1>
                <p>Yogyakarta</a></p>
            </div>
        </div>
        <div id="menu" class="container">
            <ul>
                <li><a href="FormUtama.jsp" accesskey="1" title="">Home</a></li>
                <li><a href="FormPendaftaran.jsp" accesskey="1" title="">Pendafataran</a></li>
                <li  class="current_page_item"><a href="FormPengumuman.jsp" accesskey="2" title="">Pengumuman</a></li>
                <li ><a href="FormInformasi.jsp" accesskey="3" title="">Informasi</a></li>
                <li><a href="#" accesskey="4" title=""></a></li>
                <li><a href="#" accesskey="5" title=""></a></li>
            </ul>
        </div>

        <div id="page" class="container">

            <div id="content">

                <table border="0" cellspacing="0" cellpadding="0" width="660" >
                    <tr valign="top" align="left">
                        <td width="50" height="48"></td>
                    <form action="FormSearch.jsp">
                        <td width="555"><input name="noPendaftaran" type="text" value=""><input type="submit" value="Search"></td>
                    </form>
                    </tr>

                    <tr valign="top" align="left" >
                        <td></td>
                        <td width="172" class="first">
                            <table border="0">
                                <tr>
                                    <%
                                        try {
                                            ProsesBean PK = new ProsesBean();%>
                                <h3>Pengumuman Hasil Seleksi</h3>
                                <table border="1" width="500" >
                                    <tr>
                                        <td> nomor Pendaftaran </td>
                                        <td> Nama </td>
                                        <td> Asal Sekolah </td>
                                        <td> Diterima di </td>

                                    </tr>
                                    <%
                                        ResultSet temp = PK.siswaDiterima();
                                        while (temp.next()) {
                                    %>
                                    <tr>
                                        <td><%=temp.getString(1)%></td>
                                        <td><%=temp.getString(2)%></td>
                                        <td><%=temp.getString(3)%></td>
                                        <td><%=temp.getString(4)%></td>
                                    </tr>
                                    <%            }
                                    %>
                                </table >

                                <%
                                    } catch (Exception e) {
                                        e.getMessage();
                                    }
                                %>
                            </table >
                        </td>

                    </tr>

                </table>

                </td>
                </tr>
                </table>               

            </div>

        </div>
        <div id="footer">
            <p>Copyright (c) 2012 www.Vido_Dido.com </p>
        </div>

    </body>
</html>

